﻿Imports DAO
Imports DTO
Public Class CTMONANBUS
    Private dao As New CTMONANDAO()

    Public Function load_CTMONAN() As DataTable
        Return dao.loadCTMONAN()
    End Function
    Public Function them_CTMONAN(ByVal dto As CTMONANDTO) As Boolean
        If dao.them_CTMONAN(dto) = True Then
            Return True
        Else
            Return False
        End If
    End Function

    Public Function capnhat_CTMONAN(ByVal dto As CTMONANDTO) As Boolean
        If dao.capnhat_CTMONAN(dto) = True Then
            Return True
        Else
            Return False
        End If
    End Function

    Public Function xoa_CTMONAN(ByVal dto As CTMONANDTO) As Boolean
        If dao.xoa_CTMONAN(dto) = True Then
            Return True
        Else
            Return False
        End If
    End Function
End Class
